﻿@inherits Umbraco.Web.Macros.PartialViewMacroPage
@using umbraco.MacroEngines

@{
    var homeNode = Model.Content.AncestorOrSelf("Home");
}

@{dynamic logo = new DynamicMedia(homeNode.GetPropertyValue("commonPicture"));}

 
<h1>
    <a href="@homeNode.UrlWithDomain()">
        <img src="@logo.umbracoFile" alt=""></a></h1>
